package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级实验对应业务对象 pt_exp_class
 *
 * @author ruoyi
 * @date 2022-03-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("班级实验对应业务对象")
public class PtSysExpClassBo extends BaseEntity {

    /**
     * 
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 班级id
     */
    @ApiModelProperty(value = "班级id", required = true)
    @NotNull(message = "班级id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long classId;

    /**
     * 实验id
     */
    @ApiModelProperty(value = "实验id", required = true)
    @NotNull(message = "实验id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long expId;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间", required = true)
    @NotNull(message = "结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date endTime;


}
